package com.zmx.b2c.order.dto.params;

import com.zmx.b2c.order.dto.B2COrderDto;
import com.zmx.b2c.order.dto.B2COrderItemDto;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@ToString
public class OrderParamsDTO implements Serializable {

    private static final long serialVersionUID = -3106678780427125222L;

    /**
     * 成功下单后返回订单编号
     */
    private String orderSn;

    private B2COrderDto b2COrderDto;

    private List<B2COrderItemDto> b2COrderItemDtos;

    public OrderParamsDTO() {
    }

    public OrderParamsDTO(B2COrderDto b2COrderDto, List<B2COrderItemDto> b2COrderItemDtos) {
        this.b2COrderDto = b2COrderDto;
        this.b2COrderItemDtos = b2COrderItemDtos;
    }
}
